﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SaleOnlineSystem.Controls
{
    public partial class SupportOnline : System.Web.UI.UserControl
    {
        public string hotsdt;
        protected void Page_Load(object sender, EventArgs e)
        {
            

            if (!Page.IsPostBack)
            {
                rpt_HelpOnline.DataSource = DAL.DCollector.DBCollector.Instance.StoredProcedureSelectTable(
                "tbl_HelpOnline", "selectorhuongdan");
                rpt_HelpOnline.DataBind();

                DataTable dt = DAL.DCollector.DBCollector.Instance.StoredProcedureSelectByColumns("tbl_Header", " * ", "selectbycolumns");
                hotsdt = dt.Rows[0]["Header_Name3"].ToString();


            }
        }
    }
}